Companion

object Companion

Properties

arch
Link copied to clipboard
val arch: String
Get os.
current
Link copied to clipboard
val current: OperatingSystem
The current operating system.
isLinux
Link copied to clipboard
val isLinux: Boolean
Whether the current OS is Linux
isMac
Link copied to clipboard
val isMac: Boolean
Whether the current OS is Max
isPosix
Link copied to clipboard
val isPosix: Boolean
Whether the current OS is POSIX compliant, i.e.
isWindows
Link copied to clipboard
val isWindows: Boolean
Whether the current OS is Windows
lineSeparator
Link copied to clipboard
val lineSeparator: String
The line separator of the current operating system
pathSeperator
Link copied to clipboard
val pathSeperator: String
Get the current OS's path seperator
platform
Link copied to clipboard
val platform: String
Get os.

Sources

js source
Link copied to clipboard